﻿//-----------------------------------------------------------------------
// <copyright file="DocumentLibraryConfiguration.cs" company="Microsoft Corporation">
// Copyright (c) Microsoft Corporation.
// All rights reserved.
// THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY 
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
// PARTICULAR PURPOSE.
// This code released under the terms of the 
// Microsoft Public License (MS-PL, http://opensource.org/licenses/ms-pl.html.)
// </copyright>
// <author>Medha</author>
// <date>16-May-2011</date>
//-----------------------------------------------------------------------

namespace SmartTag.Configuration
{
    using System;
    using System.Collections.Generic;

    /// <summary>
    /// Document Library Configuration
    /// </summary>
    [Serializable]
    public class DocumentLibraryConfiguration
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="DocumentLibraryConfiguration"/> class.
        /// </summary>
        public DocumentLibraryConfiguration()
        {
            this.ColumnConfiguration = new List<ColumnConfiguration>();
        }

        /// <summary>
        /// Gets or sets a value indicating whether [smart tag enabled].
        /// </summary>
        /// <value>
        ///   <c>true</c> if [smart tag enabled]; otherwise, <c>false</c>.
        /// </value>
        public bool SmartTagEnabled
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the list id.
        /// </summary>
        /// <value>
        /// The list id.
        /// </value>
        public string ListId
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the column configuration.
        /// </summary>
        /// <value>
        /// The column configuration.
        /// </value>
        public List<ColumnConfiguration> ColumnConfiguration
        {
            get;
            set;
        }
    }
}
